<table id="fmfrmreportdetail_tbl"  class="display dataTable ex_highlight width98"> 

<thead>
    <tr >
        <th  style="width:5%">STT</th>
        <th  style="width:10%">Phòng</th>
        <th  style="width:20%">TG Thuê </th>  
        <th  style="width:10%">Tiền Thuê</th>
        <th  style="width:10%">Tiền SP</th>                     
        <th  style="width:18%">Giảm Phát Sinh</th>                     
        <th  style="width:12%">Voucher+KM</th>                     
        <th  style="width:15%">Tổng Thu</th>                     
   </tr>
</thead>
<tbody>
    <tr>
    <td class="aligncenter">[blk_data.#;.]</td>
    <td class="alignleft">[blk_data.roomname;block=tr]</td>
    <td class="aligncenter">[blk_data.timerent;.] </td>
    <td class="alignright">[blk_data.money_rent;frm=0,000.] </td>
    <td class="alignright">[blk_data.money_product;frm=0,000.] </td>
    <td class="alignright">[blk_data.arising_price;frm=0,000.] </td>
    <td class="alignright">[blk_data.price_voucher;frm=0,000.] </td>
    <td class="alignright">[blk_data.total;frm=0,000.] </td>
    </tr>
</tbody>
<tfoot>
    <tr>
    <td class="alignright" colspan="2">Tổng cộng</td>
    <td class="aligncenter">[blk_data_sum.timerent;block=tr;.] </td>
    <td class="alignright">[blk_data_sum.money_rent;frm=0,000.] </td>
    <td class="alignright">[blk_data_sum.money_product;frm=0,000.] </td>
    <td class="alignright">[blk_data_sum.arising_price;frm=0,000.] </td>
    <td class="alignright">[blk_data_sum.price_voucher;frm=0,000.] </td>
    <td class="alignright">[blk_data_sum.total;frm=0,000.] </td>
    </tr>
</tfoot>
</table>